package com.itheima.vo;

import java.io.Serializable;
import java.util.List;

public class UserVo implements Serializable {
    private String path;
    private String title;
    private String icon;
    private String linkUrl;
    private List<UserVo> children;
    private Integer priority;



    public UserVo() {
    }

    public UserVo(String path, String title, String icon, String linkUrl, List<UserVo> children) {
        this.path = path;
        this.title = title;
        this.icon = icon;
        this.linkUrl = linkUrl;
        this.children = children;
    }

    public UserVo(String path, String title, String icon, String linkUrl) {
        this.path = path;
        this.title = title;
        this.icon = icon;
        this.linkUrl = linkUrl;
    }

    public UserVo(String path, String title, String icon, String linkUrl, Integer priority) {
        this.path = path;
        this.title = title;
        this.icon = icon;
        this.linkUrl = linkUrl;

        this.priority = priority;
    }

    public UserVo(String path, String title, String icon, String linkUrl, List<UserVo> children, Integer priority) {
        this.path = path;
        this.title = title;
        this.icon = icon;
        this.linkUrl = linkUrl;
        this.children = children;
        this.priority = priority;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }
    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    public List<UserVo> getChildren() {
        return children;
    }

    public void setChildren(List<UserVo> children) {
        this.children = children;
    }
}
